<template>
	<view>
		<!-- <view class="top_bg">
			<image src="https://bzhl-dev1.oss-cn-chengdu.aliyuncs.com/bzhl/miniapp/yjc/home/card_1.jpg" mode=""></image>
		</view> -->
		<view class="detail_main">
			<view class="title">{{ dataInfo.title }}</view>
			<view class="time">发布时间：{{dataInfo.createTime}}</view>
			<view class="cont">
				<u-parse :html="dataInfo.content"></u-parse>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataInfo: {}
			}
		},
		methods: {
			
		},
		onLoad(option) {
			let item = JSON.parse(decodeURIComponent(option.item))
			this.dataInfo = item
		}
	}
</script>
<style>
	page{
		background: #fff;
	}
</style>
<style lang="scss" scoped>
.top_bg{
	image{
		width: 100%;
		height: 420rpx;
	}
}
.detail_main{
	padding: 28rpx;
	.title{
		font-size: 36rpx;
		color: #000000;
		margin: 20rpx 0;
	}
	.time{
		font-size: 24rpx;
		color: #9A9A9A;
		margin: 20rpx 0;
	}
	.cont{
		font-size: 28rpx;
		color: #8F8F8F;
		line-height: 43rpx;
	}
}

</style>
